<!--演示包括其他模板文件-->
<include file="./Web/Tpl/default/head_inner.html"/>
<div id="sub_banner" style="background:url(/Web/Tpl/default/images/aboutad.jpg) top center no-repeat"></div>
<div class="animatedParent">
    <div class="sub_containerbg" style="background:url(/Web/Tpl/default/images/ny_bg.jpg) top center no-repeat fixed">
        <div id="sub_container" class="clearfix wrapper">

            <div class="sidebar animated fadeInLeft">
                <h2><img src="/Web/Tpl/default/images/about.jpg" width="220" height="81"/></h2>

                <div class="subnav pngFix">
                    <ul>
                        <php>$fid=get_field('type','typeid='.$type[typeid],'fid');if($fid==0){ $pid=$type[typeid]; }else{ $pid=$fid; }</php>
                        <category parentid="$pid" id="vo" key="k">
                            <li class='sub1' id='{$k}'>
                                <A <php> if($_GET['typeid'] == $vo['typeid']) echo "class='current'";</php>  href='{$vo.typeid|url=lists,###}'>{$vo.typename}</A><!--判定是否有子类-->
                                <php>$cid = get_children($vo['typeid']);if($vo['typeid'] != $cid){</php>
                                <ul>
                                    <category parentid="$vo[typeid]" id="voo">
                                        <li><a href='{$voo.typeid|url=lists,###}' >123{$voo.typename}</a></li>
                                    </category>
                                </ul>
                                <php>}</php>
                            </li>
                        </category>
                    </ul>
                </div>


                <div class="bot"><img src="/Web/Tpl/default/images/sid_bot.png" width="220" height="56"/></div>
            </div>

            <div class="main animated fadeInUp">


                <div class="article ">

                    <php>if(count($list)==1){</php>
                    <!--是单页-->
                    <div class="content">
                        {$list[0]['content']}
                        <div class="maincontent clearfix"></div>
                    </div>
                    <php>}else{</php>
                    <!--ssss-->
                    <div class="sub_news">
                        <div class="sub_news_img">
                            <img src="http://www.fjsxzsgs.com/upload/image/20160616/20160616143314_2904.jpg" width="277"
                                 height="191"/></div>
                        <volist name="list"  id="vo" offset="0" length='1' key="k" >
                        <div class="sub_news_wz">
                            <h2>{$vo.title|msubstr=###,0,38,'utf-8'}</h2>

                            <div class="date">{$vo.addtime|strtotime|date='Y.m.d',###}</div>
                            <div class="des">
                                {$vo.content|msubstr=###,0,50,'utf-8'}
                                <div class="line3" style="width: 0%;"></div>
                            </div>
                            <div class="more"><a href="{$vo.aid|url=articles,###}">MORE</a></div>
                        </div>
                        </volist>
                        <div class="c"></div>
                        <div class="inner">
                            <ul class="clearfix">
                                <volist name="list"  id="vo" offset="1" length='3' key="k" >
                                <li>
                                    <a href="{$vo.aid|url=articles,###}">
                                        <div class="time">
                                            <b>{$vo.addtime|msubstr=###,5,2}/{$vo.addtime|msubstr=###,8,2}</b><br>
                                            {$vo.addtime|msubstr=###,0,4}
                                        </div>

                                        <div class="des">
                                            <h2><notempty name="vo.titlecolor"><font color="{$vo.titlecolor}"></notempty>
                                                {$vo.title|msubstr=###,0,38,'utf-8'}
                                                <notempty name="vo.titlecolor"></font></notempty>
                                                <div class="line" style="width: 0px;"></div>
                                            </h2>
                                            <p>{$vo.content|msubstr=###,0,38,'utf-8'}</p>
                                        </div>
                                        <div class="more" style="margin-bottom: 30px;">
                                            <img src="/Web/Tpl/default/images/ico3.jpg" width="25"
                                                               height="25"/>
                                        </div>
                                    </a>
                                </li>
                                </volist>

                            </ul>
                        </div>
                        <br>
                        <br>
                        <br>
                        <div class='t_page ColorLink' style="text-align: center;">{$page}</div>
                    </div>

                    <php>}</php>

                </div>
            </div>
        </div>
    </div>
</div>

<!--<div id="body">
<div class="HeightTab clearfix"></div>

<div class="inner">

<div class="left">
<div class='Sbox'>
<div class='topic'><a href="#">123123123{$type.typename}</a></div>
<div class="ClassNav">
<div class="NavTree">
<ul id='suckertree1'>

<php>$fid=get_field('type','typeid='.$type[typeid],'fid');if($fid==0){ $pid=$type[typeid]; }else{ $pid=$fid; }</php>
<category parentid="$pid" id="vo">
<li><A href='{$vo.typeid|url=lists,###}'>123{$vo.typename}</A>&lt;!&ndash;判定是否有子类&ndash;&gt;
<php>$cid = get_children($vo['typeid']);if($vo['typeid'] != $cid){</php>
<ul>
<category parentid="$vo[typeid]" id="voo">
<li><a href='{$voo.typeid|url=lists,###}' >123{$voo.typename}</a></li>
</category>
</ul>
<php>}</php>
</li>
</category>
</ul></div></div></div>
<php>if(!in_array($type['typeid'],array(14,15,16,17,35))){</php>
<div class='HeightTab clearfix'></div>
<div class="Sbox">
<div class="topic">最近更新1234&nbsp;&nbsp;&nbsp;New</div>
<div class="list">
<dl>
<php>$all_ids=get_children($first_id);</php>
<arclist model="article" where="typeid in($all_ids)" order="addtime desc" num="5">
<dd><a href='{$vo.aid|url='articles',###}' target='_blank' title='{$vo.title}'>{$vo.title}</a></dd>
</arclist>
</dl>
</div>

</div>

<div class='HeightTab clearfix'></div>
<div class="Sbox">
<div class="topic">热门推荐&nbsp;&nbsp;&nbsp;Hot</div>
<div class="list">
<dl>
<arclist model="article" where="typeid in($all_ids)" order="istop desc,ishot desc" num="5">
<dd><a href='{$vo.aid|url='articles',###}' target='_blank' title='{$vo.title}'>{$vo.title}</a></dd>
</arclist>
</dl>
</div>
</div>
<php>}</php>
<include file="Public:contact"/>
</div>

<div class="right">
<div class="Position"><span>你的位置：{$nav}</span></div>
<div class="HeightTab clearfix"></div>


<div class="main">
<php>if(count($list)==1){</php>

<div class="content">
{$list[0]['content']}
<div class="maincontent clearfix"></div>
</div>
<php>}else{</php>
<div class="ArticleList">
	  <table  width="100%" border="0" cellspacing="0" cellpadding="0">
<volist name="list" id="vo">
<tr><td width='90%' class='fw_t'>·<a href='{$vo.aid|url=articles,###}' target='_blank'><notempty name="vo.titlecolor"><font color="{$vo.titlecolor}"></notempty>{$vo.title|msubstr=###,0,38,'utf-8'}<notempty name="vo.titlecolor"></font></notempty></a></td><td width='10%' class='fw_s'>[{$vo.addtime|msubstr=###,0,10}]</td></tr>
</volist>
        
      </table>
<div class="clearfix"></div>
	  <div class='t_page ColorLink'>{$page}</div>
</div>
<php>}</php>
</div>
</div>
</div>
</div>-->
<include file="$footer"/>